Skip to content

New outside numbers serializer - #207

Merged
semiexp merged 4 commits into
semiexp:mainfrom
ReverM:out-sec-ser
Mar 13, 2026
Merged

New outside numbers serializer#207
semiexp merged 4 commits into
semiexp:mainfrom
ReverM:out-sec-ser

Conversation

@ReverM

@ReverM ReverM commented Mar 12, 2026

Copy link
Copy Markdown
Contributor

Added two new serializer, one for puzzle with two sets of external clues, and one with puzzle with four sets of external clues
Migrated affected puzzles to new serializer

let clues_up = surrounding[..width].to_vec();
let clues_down = surrounding[width..(2 * width)].to_vec();
let clues_left = surrounding[(2 * width)..(2 * width + height)].to_vec();
let clues_right = surrounding[(2 * width + height)..].to_vec();

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I verified this order (up -> down -> left -> right) is consistent with that in Skyscrapers URLs

@semiexp semiexp left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for a refactoring PR!

@semiexp
semiexp merged commit c1f79f0 into semiexp:main Mar 13, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants